package com.lkj.controller;


import com.lkj.config.TakeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author likanjia
 */
@RestController
public class CallController {

    @Autowired
    private TakeService takeService;

    @GetMapping("/call")
    public String call(){

        System.out.println("call....");
//        String config = "call";
        String config = takeService.getConfig();


        return config;
    }
}
